import { defineStore } from 'pinia'
interface patient {
    name: string;
    _id: string
}
export const myData = defineStore('my_data', {
    state: () => ({
        patient: {} as patient
    }),
    actions: {
        addPatient(state: patient) {
            this.patient = state
        }
    }
})